//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package commands;

import common.ByteStream;

public class StartTutorial extends LogicCommand {
    private final Integer tutorialCmd;

    public StartTutorial(int ticks, int tutorialCmd) {
        super(ticks);
        this.tutorialCmd = Integer.valueOf(tutorialCmd);
    }

    public int getCommandId() {
        return 35;
    }

    public void encode(ByteStream stream) {
        stream.writeInt(this.getCommandId());
        stream.writeInt(this.tutorialCmd.intValue());
        stream.writeInt(this.ticksWhenTouch().intValue());
    }
}
